package be.kuleuven.cs.mop.domain.model.impl;

import be.kuleuven.cs.mop.domain.exceptions.TaskManagerException;

public class AdminUserTypeImpl extends UserTypeImpl {
	
	public static final String ADMIN_USERTYPE_NAME = "Admin";
	 
	public static String getAdminUserTypeName() {
		return ADMIN_USERTYPE_NAME;
	}

	/**
	 * 
	 * @param world
	 * @throws TaskManagerException {@link UserImpl#UserImpl(World, String, UserTypeImpl)}
	 */
	public AdminUserTypeImpl(final World world) throws TaskManagerException{
		super(world, getAdminUserTypeName());
	}
	
	@Override
	public boolean isAdmin(){
		return true;
	}
}
